package com.baizhi.service;

import com.baizhi.entity.Admin;
import com.github.pagehelper.PageInfo;

import javax.servlet.http.HttpSession;

public interface AdminService {
    Admin selectOne(String name, String password,String code, HttpSession session);
    PageInfo<Admin> selectAll(Integer page,Integer limit);
    void insert(Admin a);
}
